Add support for entering emoji by name
authorMatthias Clasen <mclasen@redhat.com>
Fri, 4 Aug 2017 04:54:15 +0000 (00:54 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 4 Aug 2017 18:54:26 +0000 (14:54 -0400)
commit72695773c2fe36b8f28960186c9e04823dbfad0e
tree936c994db978af39717003466b9817a3d3bad5b9
parent0740fb5c6442aa826a10acf052d7a7b15ea29b78
Add support for entering emoji by name

This commit adds some basic support for entering emoji by name
to GtkIMContextSimple. To begin an emoji sequence, use Ctrl-Shift-e
instead of Ctrl-Shift-u that is used for hex input. Otherwise, the
behavior is the same: you can can let go of the modifier keys and
end the sequence with space or enter, or hold on to the modifier
keys and end the sequence by releasing them.

Only a limited, fixed set of names is supported at this time, see
the GtkIMContextSimple docs for a full list.
gtk/gtkimcontextsimple.c